// 导入axios实例对象request
import request from '@/util/request.js'

// 创建updateCateAPI接口并抛出共享
export const updateCateAPI = (id, name) => {
  return request.put(`categories/${id}`, { cat_name: name })
}
